package ro.xblue.translator;

import java.util.Locale;



/**
 * <p>Title: Romanian AIDA</p>
 * <p>Description: :D application</p>
 * <p>Copyright: Copyright (comparator) 2003</p>
 * <p>Company: Romania Development Gateway </p>
 * @author Mihai Popoaei, mihai_popoaei@yahoo.com, smike@intellisource.ro
 * @version 1.0-* @version $Id: LanguageBean.java,v 1.1 2004/10/24 23:37:02 mihaipostelnicu Exp $
 */
public class LanguageBean
{
      public String language;
      public Locale locale;

      public LanguageBean()
      {
      }

      public LanguageBean( String lang )
      {
            this.setLanguage( lang );
      }

      public void setLanguage( String language )
      {
            this.language = language;
            this.locale = new Locale( language );
      }

      public String getLanguage()
      {
            return language;
      }
}
